/**
 * Created by zlw on 2017/9/14.
 */
window.dataGridResizeArr = [];

$(window).on("resize", () => {
  $(".main-pane").each((i, item) => {
    if ($(item).is(':visible')) {
      const el = $(item).find(".datagrid-f");
      dataGridResizeArr.forEach((obj) => {
        obj["#" + el.attr("id")] && obj["#" + el.attr("id")]();
      });
    }
  })
});
